package com.example.demo;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

public interface WallpaperRepository extends JpaRepository<Wallpaper, Long> {

    List<Wallpaper> findAll(Specification<Wallpaper> specification);

    Page<Wallpaper> findAll(Specification<Wallpaper> specification, Pageable page);
}
